import React from 'react';
import { Link } from 'react-router-dom';

/**
 * Home 页面
 */
export default function Home() {
    return (
        <>
          <main>
            <h2>Welcome to the homepage!</h2>
            <p>You can do this, I believe in you.</p>
          </main>
          <nav>
            <Link to="/about">About</Link>  |{" "}
            <Link to="/invoices/10010">Invoice</Link> |{" "}
            <Link to="/layout">Layout</Link>
          </nav>
        </>
    );
}
